package fair.service;

import fair.entity.PageResult;
import fair.pojo.CheckGroup;

import java.util.List;

/**
 * @author fair_wu
 * @version v1.0
 * @date 2021-01-24 下午 23:12
 */
public interface CheckGroupService {
    PageResult pageQuery(Integer currentPage, Integer pageSize, String queryString);

    void add(CheckGroup group, Integer[] ids);

    CheckGroup findById(Integer id);

    List<Integer> findCheckItemIdByCheckGroupId(Integer id);

    void edit(CheckGroup group, Integer[] checkitemIds);

    void deleteById(Integer id);

    List<CheckGroup> findAll();
}
